/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.ranch.dao;

import org.ranch.model.Farm;
import org.ranch.model.Kraal;

/**
 * A Data access interface that provides methods for performing CRUD operations
 * on the {@link Farm} objects <br/>
 * <br/>
 *
 * The FarmDAO interface abstracts the application from a particular
 * implementation of the CRUD operations on the entities
 *
 *
 */
public interface FarmDAO extends BaseDAO<Farm>{

    /**
     * @param query
     * @param pageNo
     * @param maxNumPageRecord
     * @return
     */
    Kraal searchWithParams(String query, Integer pageNo, int maxNumPageRecord);

}
